﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature>
	<Dependencies>
		<Dependency type="feature">BaseFrameworkFeature.xml</Dependency>
		<Dependency type="feature">UserLoginFeature.xml</Dependency>
		<Dependency type="feature">UserManagementFeature.xml</Dependency>
	</Dependencies>

	<BusinessRules>
		<BusinessRule name="addApplicationView" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.StaticUiContentLocalizationBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="translateArticle" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.GoogleTranslationBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="translateAllStaticTexts" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.GoogleTranslationBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="translateAllArticles" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.GoogleTranslationBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="translateFromGoogle" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.GoogleTranslationBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="translateArticlePiece" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.GoogleTranslationBizRules,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>

	<BusinessRules>
		<BusinessRule name="getAllKnownCountries" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getCompanyPreferredCountries" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="setCompanyPreferredCountries" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getCountriesWithActiveCultures" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getAllKnownCultures" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getActiveCultures" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getCultureDetailsWithTranslationText" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="createUpdateCulture" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="deleteCulture" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getAllTranslations" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getAllTranslationsIncludingBuiltIn" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getTranslationsForLanguage" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getTranslationWithTexts" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getTextsForTranslation" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		
		<BusinessRule name="getUiViewTranslationTexts" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="updateUiViewTranslationText" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getUiViewControlFields" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		
		<BusinessRule name="createUpdateTranslation" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="deleteTranslation" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getAllKnownLanguages" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getLanguagesWithTranslations" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getRelatedFieldNameOfUiControls" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="updateRelatedFieldNameOfUiControls" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getAllTimeZones" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>

	<BusinessRules>
		<BusinessRule name="getUserLocalizationSettings" security="disabled" postExtends="getUser">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.CompanyUserLocalizationSettingsBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="getUserLocalizationSettings2" security="disabled" postExtends="getUserPreferences">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.CompanyUserLocalizationSettingsBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="updateUserLocalizationSettings" security="disabled" postExtends="updateUserInfo">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.CompanyUserLocalizationSettingsBizRules,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>


	<BusinessRules>
		<BusinessRule name="getLocalizationBackupRestoreTemplate" security="disabled" postExtends="getBackupRestoreDeploymentOtionDisplay">
			<LocalClass name="Localization.LocalizationBackupRestoreBizRules,ScsCore" />
		</BusinessRule>

		<BusinessRule name="postExtendLocalizationExecuteCompanyBackup" security="disabled"  postExtends="executeCompanyBackup">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBackupRestoreBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="backupTranslations" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBackupRestoreBizRules,ScsCore" />
			</Option>
		</BusinessRule>

		<BusinessRule name="postExtendLocalizationExecuteCompanyRestore" security="disabled"  postExtends="executeCompanyRestoreFromZip">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBackupRestoreBizRules,ScsCore" />
			</Option>
		</BusinessRule>
		<BusinessRule name="restoreTranslations" security="disabled">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBackupRestoreBizRules,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>
	
	<BusinessRules>
		<BusinessRule name="postExtendsLocalizeUpdateArticle" security="disabled"  postExtends="updateArticle">
			<Option value="$LocalizationRemoteTier$">
				<RemoteRule url="$LocalizationRemoteTier$" />
				<LocalClass name="Localization.LocalizationBizRule,ScsCore" />
			</Option>
		</BusinessRule>
	</BusinessRules>

  <BusinessRules>
    <BusinessRule name="getLocalizationCompanySettingsTemplate" security="disabled" postExtends="getCompanySettingsDisplayTemplate">
      <LocalClass name="Localization.CompanyUserLocalizationSettingsBizRules,ScsCore" />
    </BusinessRule>
    <BusinessRule name="getLocalizationCompanySettingsDbFields" security="disabled" postExtends="getCompanySettingsDbFields">
      <LocalClass name="Localization.CompanyUserLocalizationSettingsBizRules,ScsCore" />
    </BusinessRule>
    <BusinessRule name="injectLocalizationUserSettingsTemplate" security="disabled" postExtends="getUserSettingsDisplayTemplate">
      <Option value="$LocalizationRemoteTier$">
        <RemoteRule url="$LocalizationRemoteTier$" />
        <LocalClass name="Localization.CompanyUserLocalizationSettingsBizRules,ScsCore" />
      </Option>
    </BusinessRule>
  </BusinessRules>


  <BusinessObjects>
		<BusinessObject injects="CompanyBackup">
			<Field name="backupTranslations" type="Boolean"/>
		</BusinessObject>		
	</BusinessObjects>
	
	<ClassFactory id="BizProcs">
		<Class type="Localization.Gui.TranslationBizProc,ScsCore" name="localization"/>
		<Class type="Localization.Gui.CurrentUserCultureBizProc,ScsCore" name="userCulture"/>
		<Class type="Localization.Gui.TranslationTextBizProc,ScsCore" name="translationTexts"/>

	</ClassFactory>
</Feature>